package com.wcards.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@ApiModel("订单表")
@Data
public class OrderInfo implements Serializable {
    @TableId("order_numbers")
    @ApiModelProperty("订单编号")
    private Integer orderNumbers;
    @ApiModelProperty("商品编号")
    private Integer goodsNumbers;
    @ApiModelProperty("商品图片")
    private String image;
    @ApiModelProperty("数量")
    private Integer numbers;
    @ApiModelProperty("交易价格")
    private double transaction;
    @ApiModelProperty("用户Id")
    private Integer userId;
    @ApiModelProperty("订单状态")
    private Integer orderStatus;

    @ApiModelProperty("购物车编号")
    private Integer cartId;
}
